Description:
When using the comma operator in the initialization or update clause of
a for statement, avoid the complexity of using too many variables.
The maximum number of variables is set by the Maximum option in the audit properties.
By default it is 3.
Incorrect:
for (i = 0, j = 0, k = 10, l = -1; i < size; i++, j++, k--, l += 2) {
...
}
Correct:
l =- 1;
for (i = 0, j = 0, k = 10; i < size; i++, j++, k--) {
...
l += 2;
}